Skip to content

Extract CI failure summary into reusable workflow#2625

Open
FlorianReimold wants to merge 21 commits into
masterfrom
feature/test_ci_workflow
Open

Extract CI failure summary into reusable workflow#2625
FlorianReimold wants to merge 21 commits into
masterfrom
feature/test_ci_workflow

Conversation

@FlorianReimold
Copy link
Copy Markdown
Member

No description provided.

@FlorianReimold FlorianReimold added the cherry-pick-to-NONE Don't cherry-pick these changes label May 12, 2026
@github-actions
Copy link
Copy Markdown
Contributor

CI Test Results

Platform Result Tests
ubuntu-22.04-arm 26/27
ubuntu-22.04 26/27
ubuntu-24.04-arm 26/27
ubuntu-24.04 26/27

❌ ubuntu-22.04-arm

IntentionalFailure_OneRun Tests log (line 4680) · ecal/tests/cpp/core_test/src/core_test.cpp:117
/home/runner/work/ecal/ecal/ecal/tests/cpp/core_test/src/core_test.cpp:117: Failure
Expected equality of these values:
  1
  2
Intentional CI failure #1 for summary validation
IntentionalFailure_TwoRun Tests log (line 4687) · ecal/tests/cpp/core_test/src/core_test.cpp:122
/home/runner/work/ecal/ecal/ecal/tests/cpp/core_test/src/core_test.cpp:122: Failure
Value of: false
  Actual: false
Expected: true
Intentional CI failure #2 for summary validation
IntentionalFailure_ThreeRun Tests log (line 4694) · ecal/tests/cpp/core_test/src/core_test.cpp:127
/home/runner/work/ecal/ecal/ecal/tests/cpp/core_test/src/core_test.cpp:127: Failure
Expected equality of these values:
  "expected"
  "actual"
Intentional CI failure #3 for summary validation

❌ ubuntu-22.04

IntentionalFailure_OneRun Tests log (line 4624) · ecal/tests/cpp/core_test/src/core_test.cpp:117
/home/runner/work/ecal/ecal/ecal/tests/cpp/core_test/src/core_test.cpp:117: Failure
Expected equality of these values:
  1
  2
Intentional CI failure #1 for summary validation
IntentionalFailure_TwoRun Tests log (line 4631) · ecal/tests/cpp/core_test/src/core_test.cpp:122
/home/runner/work/ecal/ecal/ecal/tests/cpp/core_test/src/core_test.cpp:122: Failure
Value of: false
  Actual: false
Expected: true
Intentional CI failure #2 for summary validation
IntentionalFailure_ThreeRun Tests log (line 4638) · ecal/tests/cpp/core_test/src/core_test.cpp:127
/home/runner/work/ecal/ecal/ecal/tests/cpp/core_test/src/core_test.cpp:127: Failure
Expected equality of these values:
  "expected"
  "actual"
Intentional CI failure #3 for summary validation

❌ ubuntu-24.04-arm

IntentionalFailure_OneRun Tests log (line 4706) · ecal/tests/cpp/core_test/src/core_test.cpp:117
/home/runner/work/ecal/ecal/ecal/tests/cpp/core_test/src/core_test.cpp:117: Failure
Expected equality of these values:
  1
  2
Intentional CI failure #1 for summary validation
IntentionalFailure_TwoRun Tests log (line 4714) · ecal/tests/cpp/core_test/src/core_test.cpp:122
/home/runner/work/ecal/ecal/ecal/tests/cpp/core_test/src/core_test.cpp:122: Failure
Value of: false
  Actual: false
Expected: true
Intentional CI failure #2 for summary validation
IntentionalFailure_ThreeRun Tests log (line 4722) · ecal/tests/cpp/core_test/src/core_test.cpp:127
/home/runner/work/ecal/ecal/ecal/tests/cpp/core_test/src/core_test.cpp:127: Failure
Expected equality of these values:
  "expected"
  "actual"
Intentional CI failure #3 for summary validation

❌ ubuntu-24.04

IntentionalFailure_OneRun Tests log (line 4685) · ecal/tests/cpp/core_test/src/core_test.cpp:117
/home/runner/work/ecal/ecal/ecal/tests/cpp/core_test/src/core_test.cpp:117: Failure
Expected equality of these values:
  1
  2
Intentional CI failure #1 for summary validation
IntentionalFailure_TwoRun Tests log (line 4693) · ecal/tests/cpp/core_test/src/core_test.cpp:122
/home/runner/work/ecal/ecal/ecal/tests/cpp/core_test/src/core_test.cpp:122: Failure
Value of: false
  Actual: false
Expected: true
Intentional CI failure #2 for summary validation
IntentionalFailure_ThreeRun Tests log (line 4701) · ecal/tests/cpp/core_test/src/core_test.cpp:127
/home/runner/work/ecal/ecal/ecal/tests/cpp/core_test/src/core_test.cpp:127: Failure
Expected equality of these values:
  "expected"
  "actual"
Intentional CI failure #3 for summary validation

Full CI run · dda7b8d

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

EXPECT_EQ(false, eCAL::Ok());
}

TEST(core_cpp_core, IntentionalFailure_One)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: all parameters should be named in a function [readability-named-parameter]

Suggested change
TEST(core_cpp_core, IntentionalFailure_One)
TEST(core_cpp_core /*unused*/, IntentionalFailure_One /*unused*/)

EXPECT_EQ(1, 2) << "Intentional CI failure #1 for summary validation";
}

TEST(core_cpp_core, IntentionalFailure_Two)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: all parameters should be named in a function [readability-named-parameter]

Suggested change
TEST(core_cpp_core, IntentionalFailure_Two)
TEST(core_cpp_core /*unused*/, IntentionalFailure_Two /*unused*/)

EXPECT_TRUE(false) << "Intentional CI failure #2 for summary validation";
}

TEST(core_cpp_core, IntentionalFailure_Three)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: all parameters should be named in a function [readability-named-parameter]

Suggested change
TEST(core_cpp_core, IntentionalFailure_Three)
TEST(core_cpp_core /*unused*/, IntentionalFailure_Three /*unused*/)

Copy link
Copy Markdown
Contributor

@KerstinKeller KerstinKeller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In addition to cleaning up the failed test cases we for sure need to reactivate the workflows properly.

branches:
- master
on:
workflow_dispatch:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This means that GH actions for macos will run only on demand. Do we want this?

pull_request:
branches:
- master
workflow_dispatch:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We definately don't want this here

on:
push:
pull_request:
workflow_dispatch:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's revert this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick-to-NONE Don't cherry-pick these changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants